/**
 * 分类类别名
 */
export interface Category {
    iconUrl:string,
    category_title: Array<string>,
    title_tags: Array<string>,
    category_name: Array<CategoryName>
    
}

/**
 * 每个分类下的标签名
 */
export interface CategoryName {
    name:string,
    content: Array<string>
    
}

/**
 * 分类JSON数据解析
 */
import categoryData from "../static/rawdata/categoryData.json";

export default function parseCategoryData() {
    let result = JSON.parse(JSON.stringify(categoryData));
    // console.log(result.categoryData)
    const data = result.categoryData;
    return data;
}
